import request from '@/utils/request'
import {ref} from 'vue'
export default () => {
  const functionals = ref([])
  const getFunctionals = async () => {
    let {data} = await request.get('mini/functional')
    functionals.value = data
  }

  return {
    getFunctionals,
    functionals
  }
}
